import {courseIntroductionService} from "../../tools/servers";

export class CourseIntroductionService{
  /*查找所有课程介绍*/
  static findCurrentCourseIntroduction(courseId){
    var httpMethod = 'GET';
    let body = courseIntroductionService.getArgs(this.findCurrentCourseIntroduction,arguments,"GET");
    return courseIntroductionService.connection(httpMethod,"/generate/findCurrentCourseIntroduction",body);
  }

  /*查找所有栏目*/
  static findAllColumns(){
    var httpMethod = 'GET';
    let body = coursePortalService.getArgs(this.findAllColumns,arguments,"GET");
    return coursePortalService.connection(httpMethod,"/generate/findAllColumns");
  }

  /*查找当前科目*/
  static findCurrentCourse(courseId){
    var httpMethod = 'GET';
    let body = coursePortalService.getArgs(this.findCurrentCourse,arguments,"GET");
    return coursePortalService.connection(httpMethod,"/generate/findCurrentCourse");
  }

}
